package com.smz.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.smz.entity.TProduct;

public interface ProductService extends IService<TProduct> {

    IPage<TProduct> findProductByCompanyId(int current, int size, int companyId);

    IPage<TProduct> findAllPro(int current, int size);
    /**
     * 根据id查询商品
     */
    TProduct findProById(int id);
}
